package com.yanqu.road.entity.activity.civil;

import com.yanqu.road.entity.DataObject;

/**
 * 玩家领取全民奖励通用记录表
 */
public class ActivityReceiveCivilRewardData extends DataObject {

    //玩家ID
    private long userId;

    //活动ID
    private int activityId;

    //活动发起的玩家ID(也可以是业务唯一ID)
    private long activityUserId;

    //任务ID
    private int conditionId;

    //领取时间
    private long createTime;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getConditionId() {
        return conditionId;
    }

    public void setConditionId(int conditionId) {
        if (this.conditionId != conditionId) {
            this.conditionId = conditionId;
            setUpdateOption();
        }
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        if (this.createTime != createTime) {
            this.createTime = createTime;
            setUpdateOption();
        }
    }

    public long getActivityUserId() {
        return activityUserId;
    }

    public void setActivityUserId(long activityUserId) {
        if (this.activityUserId != activityUserId) {
            this.activityUserId = activityUserId;
            setUpdateOption();
        }
    }
}
